package com.lhb.SC.web.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.lhb.SC.web.exception.DefaultExceptionHandler;

@Configuration
public class WebConfiguration {

	public WebConfiguration() {
		System.out.println("WebConfiguration.init...........");
	}

	@Bean
	public DefaultExceptionHandler defaultExceptionHandler() {
		return new DefaultExceptionHandler();
	}
}
